package com.kgc.xs.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.xs.pojo.SalesCounter;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface AddSalesCodeRemote {

    @RequestMapping("/addSalesCode")
    @ResponseBody
    ResponseMsg addSalesCode(@RequestBody Map<String, Object> map);

    @RequestMapping("/insertCounter")
    @ResponseBody
    ResponseMsg insertCounter(@RequestBody SalesCounter salesCounter);

    @RequestMapping("/incrementSeq")
    @ResponseBody
    ResponseMsg incrementSeq(@RequestBody Map<String, Object> map );
}
